package com.db;

import java.sql.Connection;
import java.sql.SQLException;

public interface DBI {
	/**
	 * 1.获取数据库连接
	 * 2.关闭数据库连接
	 */
	Connection getConn()throws SQLException;
	
	void closeConn()throws SQLException;

}
